ANativeActivityCallbacks.onNativeWindowDestroyed

The drawing window for this native activity is going to be destroyed. You MUST ensure that you do not touch the window object after returning from this function: in the common case of drawing to the window from another thread, that means the implementation of this callback must properly synchronize with the other thread to stop its drawing before returning from here.

struct ANativeActivityCallbacks
void function(ANativeActivity* activity, ANativeWindow* window) onNativeWindowDestroyed;

Meta